package cn.iocoder.yudao.module.book.controller.admin.checkIn.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 打卡新增/修改 Request VO")
@Data
public class CheckInSaveReqVO {

    @Schema(description = "打卡id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6738")
    private Integer clockId;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31699")
    @NotNull(message = "用户id不能为空")
    private Integer userId;

    @Schema(description = "绘本集合", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "绘本集合不能为空")
    private String bookList;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "内容不能为空")
    private String content;

    @Schema(description = "天数", requiredMode = Schema.RequiredMode.REQUIRED, example = "30294")
    @NotNull(message = "天数不能为空")
    private Integer dayCount;

}